import Vue from 'vue'
import Router from 'vue-router'
import routes from 'router-generator-plugin/routes'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: {
        name: 'login'
      }
    },
    ...routes
  ]
})
